﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace printer
{
    public class manager:reciptionist
    {
        public void register(Employee employe)
        {

        }
        public void add_employ_table(Employee emp)
        {

            string Query = "insert into Employee (Employee_Id,User_Name,PassWord,Salary,Ssn,Work_State) values('" + emp.ID + "','" + emp.User_Name + "','" + emp.PassWord + "','" + emp.Salary + "','" + emp.Ssn + "','" + emp.Work_State + "')";
            DataBase.insert_update_delete_in_database(Query);
        }
        public void update_employee_working_state(int employee_id,string work_state)
        {
            string Query = "update Employee set Work_State='"+work_state+"'  where id=" + employee_id + "";
            DataBase.insert_update_delete_in_database(Query);
        }
        public void define_costs(SortedDictionary<string,double> new_costs)
        { 

        }

    }
}
